package com.lovo.dimao.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 采购申请明细表
 * </p>
 *
 * @author MaoYue
 * @since 2022年11月15日
 */
@Getter
@Setter
@TableName("ssc_purchase_detail")
@ApiModel(value = "SscPurchaseDetail对象", description = "采购申请明细表")
public class SscPurchaseDetail implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("明细id")
    @TableId(value = "pk_purchase_d_id", type = IdType.ASSIGN_ID)
    private Long purchaseDId;

    @ApiModelProperty("采购申请id")
    @TableField("fk_purchase_id")
    private Long purchaseId;

    @ApiModelProperty("商品数量")
    @TableField("goods_amount")
    private Integer goodsAmount;

    @ApiModelProperty("商品名字")
    @TableField("goods_name")
    private String goodsName;

    @ApiModelProperty("商品序列号")
    @TableField("goods_index")
    private String goodsIndex;


}
